<div class="list">
	<h2><?= $this->title ? $this->title : 'Places' ?></h2>
	<table>
	<thead>

		<tr>
			<th colspan="3">ID</th>
			<th>Name</th>
			<th>Address</th>
			<th>City</th>
			<th>State</th>
			<th>Country</th>
			<th colspan="2">Postal Code</th>
		</tr>
		<thead>
		<tbody>
	<? foreach ($this->places as $place):
	?>
		<tr>
			<th><?= $place->identity() ?></th>
			<td><?= $this->link('(edit)', array('module' => 'admin',
			'controller' => 'places', 'action' => 'edit',
			'title' => 'Edit place', 'id' => $place->identity() )) ?></td>
			<td><?= $this->link('(view)', array('module' => 'admin',
			'controller' => 'places', 'action' => 'view',
			'title' => 'Edit place', 'id' => $place->identity() )) ?></td>
			<td><?= $this->link($place->getName(), array('module' => 'admin',
			'controller' => 'places', 'action' => 'view',
			'title' => 'View place', 'id' => $place->identity() )) ?></td>
			<td><?= $place->getAddress() ?></td>
			<td nowrap><?= $place->getCity() ?></td>
			<td nowrap><?= $place->getState() ?></td>
			<td nowrap><?= $place->getCountry() ?></td>
			<td nowrap><?= $place->getPostalcode() ?></td>
			<td><?= $this->link('(x)', array('module' => 'admin',
			'controller' => 'places', 'action' => 'delete',
			'title' => 'Delete place', 'id' => $place->identity() )) ?></td>
		</tr>
	<? endforeach; ?>
	</tbody>
	</table>
</div>
